package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DishService {

    //新增菜品
    void saveWithFlavor(DishDTO dishDTO);

    //菜品分页查询
    PageResult pageQuer(DishPageQueryDTO dishPageQueryDTO);

    //批量删除
    void deleteBatch(List<Long> ids);

    //根据ID查询菜品
    DishVO getByIdWithFlavor(Long id);

    //修改菜品
    void updateWithFlavor(DishDTO dishDTO);
}
